<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="/static/plugins/jquery-easyui-1.4.3/themes/gray/easyui.css">
<link rel="stylesheet" type="text/css" href="/static/plugins/jquery-easyui-1.4.3/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/static/css/admin/main.css">
<link rel="stylesheet" type="text/css" href="/static/css/admin/style.css">
</head>
<body>
	<form id="addForm" method="post" class="validate">
		<table>
			<tbody>
				<tr>
					<th>分类名称</th>
					<td><input class="input_text easyui-validatebox validatebox-text validatebox-invalid" type="text" id="name" name="cat.name" data-options="required:true" title="">
					</td>
				</tr>
				<tr>
					<th>分类图片</th>
					<td><input class="easyui-validatebox validatebox-text" type="file" id="image" name="image">
					</td>
				</tr>
				<tr>
					<th>是否为顶级分类</th>
					<td>
						<input type="radio" name="cattype" class="cattype" value="0" checked="checked">否 &nbsp;&nbsp;&nbsp;&nbsp; 
						<input type="radio" name="cattype" class="cattype" value="1">是</td>
				</tr>
				<tr class="addtr">
					<th>上级分类</th>
					<td>
					<input class="easyui-combotree combo combotree-f combo-f" data-options="url:'cat!addlistJson.do',method:'get',required:false,height:28" style="width: 300px; display: none;" comboname="cat.parent_id">
					<span class="combo" style="width: 295px; height: 20px;">
						<input type="text" class="combo-text validatebox-text" autocomplete="off" readonly="readonly" style="cursor: pointer; width: 277px; height: 20px; line-height: 20px;">
						<span><span class="combo-arrow" style="height: 20px;"></span></span>
						<input type="hidden" class="combo-value" name="cat.parent_id" value="">
					</span>
					</td>
				</tr>
				<tr>
					<th>商品类型</th>
					<td><input class="easyui-combotree combo combotree-f combo-f" data-options="url:'',method:'get',required:false,height:28" style="width: 300px; display: none;" comboname="cat.type_id">
					<span class="combo" style="width: 295px; height: 20px;">
						<input type="text" class="combo-text validatebox-text" autocomplete="off" readonly="readonly" style="cursor: pointer; width: 277px; height: 20px; line-height: 20px;">
						<span><span class="combo-arrow" style="height: 20px;"></span>
					</span>
					<input type="hidden" class="combo-value" name="cat.type_id" value=""></span>
					</td>
				</tr>
				<tr>
					<th>排序</th>
					<td><input class="input_text" type="text" id="order" name="cat.cat_order" data-options="required:true" value="0">
					</td>
				</tr>
				<tr>
					<th>列表中显示</th>
					<td style="padding: 2px 0 0 0">
					<input type="radio" name="list_show" value="1" checked="checked">是&nbsp; 
					<input type="radio" name="list_show" value="0">否</td>
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>